<template>
  <view v-if="articles">
    <view class="container" v-html="articles">
    </view>
  </view>
</template>

<script>
export default {
  name: "aboutus",
  data(){
    return {
      articles: '',
    }
  },
  created(){
    this.initData()
  },
  methods:{
    initData(){

      this.$Request.request('/api/article/get?id=409', 'GET').then(response=>{
        console.log(response)
        const {data:{  articleContent}} = response;

        this.articles= articleContent;

      })
    }
  }
}
</script>

<style lang="scss"  scoped>
.front-cover{
  width: 100%;
  height: 400rpx;
}
.container{
  padding: 20rpx 30rpx;
  height: 100vh;
}
</style>
